package com.atguigu.spzx.user;

import com.atguigu.spzx.common.annotation.EnableSpzxUserInfoInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
//引入 common-service中的登录拦截器和配置 到当前项目的容器中
@EnableSpzxUserInfoInterceptor
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class , args);
    }
}
